\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d}{\section{Political\-Classifier.\-Support.\-Range2\-D Struct Reference}
\label{struct_political_classifier_1_1_support_1_1_range2_d}\index{Political\-Classifier.\-Support.\-Range2\-D@{Political\-Classifier.\-Support.\-Range2\-D}}
}


\hyperlink{struct_political_classifier_1_1_support_1_1_range2_d}{Range2\-D} represents the range of the world coordinates across the plot.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a1093539499bb49ac05cc5fb744a6a086}{Range2\-D} (double x\-Min, double x\-Max, double y\-Min, double y\-Max)
\begin{DoxyCompactList}\small\item\em Constructor. Sets the initial range. \end{DoxyCompactList}\item 
\hyperlink{struct_political_classifier_1_1_support_1_1_point2_d}{Point2\-D} \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a4b4047ff37ffdb821ec0d7f48698161d}{Get\-Center\-Point} ()
\begin{DoxyCompactList}\small\item\em Calculates the center point of the range. \end{DoxyCompactList}\item 
double \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a6ff74fe7222cfcf8271950db67154109}{Get\-Width} ()
\begin{DoxyCompactList}\small\item\em Calculates the width of the range. \end{DoxyCompactList}\item 
double \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_aad46a4a603679296f8ed0c5b29b035a6}{Get\-Height} ()
\begin{DoxyCompactList}\small\item\em Calculates the height of the range. \end{DoxyCompactList}\item 
double \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a85bc0221b69e616320610f268dc28091}{Get\-Half\-Width} ()
\begin{DoxyCompactList}\small\item\em Calculates the value of half of the width of the range. \end{DoxyCompactList}\item 
double \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a3c5d7855f7a91c8bc05883b5e6eaa611}{Get\-Half\-Height} ()
\begin{DoxyCompactList}\small\item\em Calculates the value of half of the height of the range. \end{DoxyCompactList}\item 
void \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a76617e9e518bbc922b5403111fa0d677}{Expand\-To\-Include\-Point} (\hyperlink{struct_political_classifier_1_1_support_1_1_point2_d}{Point2\-D} point)
\begin{DoxyCompactList}\small\item\em Expand the range (if necessary) to make sure it includes the given point. \end{DoxyCompactList}\item 
double \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a40bb03ebab7a77665ac4c58431c2f008}{Normalize\-Range} ()
\begin{DoxyCompactList}\small\item\em Forces the range to fit \mbox{[}-\/1, 1\mbox{]} in both dimensions. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a426525ab012001191922c08d86be6fae}{X\-Min}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em Gets and sets the minimum x-\/coordinate in the range. \end{DoxyCompactList}\item 
double \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a71baf81056770ad7a34ec3d15a827de4}{X\-Max}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em Gets and sets the maximum x-\/coordinate in the range. \end{DoxyCompactList}\item 
double \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_afe9b372f0d920cf0bb17748ca054589f}{Y\-Min}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em Get and sets the minimum y-\/coordinate in the range. \end{DoxyCompactList}\item 
double \hyperlink{struct_political_classifier_1_1_support_1_1_range2_d_a64321f195a12f3a672ca03bd06471c14}{Y\-Max}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em Gets and sets the maximum y-\/coordinate in the range. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{struct_political_classifier_1_1_support_1_1_range2_d}{Range2\-D} represents the range of the world coordinates across the plot. 



\subsection{Constructor \& Destructor Documentation}
\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a1093539499bb49ac05cc5fb744a6a086}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Range2\-D@{Range2\-D}}
\index{Range2\-D@{Range2\-D}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Range2\-D}]{\setlength{\rightskip}{0pt plus 5cm}Political\-Classifier.\-Support.\-Range2\-D.\-Range2\-D (
\begin{DoxyParamCaption}
\item[{double}]{x\-Min, }
\item[{double}]{x\-Max, }
\item[{double}]{y\-Min, }
\item[{double}]{y\-Max}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a1093539499bb49ac05cc5fb744a6a086}


Constructor. Sets the initial range. 


\begin{DoxyParams}{Parameters}
{\em x\-Min} & The minimum x-\/coordinate in the range.\\
\hline
{\em x\-Max} & The maximum x-\/coordinate in the range.\\
\hline
{\em y\-Min} & The minimum y-\/coordinate in the range.\\
\hline
{\em y\-Max} & The maximum y-\/coordinate in the range.\\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a76617e9e518bbc922b5403111fa0d677}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Expand\-To\-Include\-Point@{Expand\-To\-Include\-Point}}
\index{Expand\-To\-Include\-Point@{Expand\-To\-Include\-Point}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Expand\-To\-Include\-Point}]{\setlength{\rightskip}{0pt plus 5cm}void Political\-Classifier.\-Support.\-Range2\-D.\-Expand\-To\-Include\-Point (
\begin{DoxyParamCaption}
\item[{{\bf Point2\-D}}]{point}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a76617e9e518bbc922b5403111fa0d677}


Expand the range (if necessary) to make sure it includes the given point. 


\begin{DoxyParams}{Parameters}
{\em point} & The point to include within the range.\\
\hline
\end{DoxyParams}
\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a4b4047ff37ffdb821ec0d7f48698161d}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Get\-Center\-Point@{Get\-Center\-Point}}
\index{Get\-Center\-Point@{Get\-Center\-Point}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Get\-Center\-Point}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point2\-D} Political\-Classifier.\-Support.\-Range2\-D.\-Get\-Center\-Point (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a4b4047ff37ffdb821ec0d7f48698161d}


Calculates the center point of the range. 

\begin{DoxyReturn}{Returns}
The center point of the range.
\end{DoxyReturn}
\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a3c5d7855f7a91c8bc05883b5e6eaa611}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Get\-Half\-Height@{Get\-Half\-Height}}
\index{Get\-Half\-Height@{Get\-Half\-Height}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Get\-Half\-Height}]{\setlength{\rightskip}{0pt plus 5cm}double Political\-Classifier.\-Support.\-Range2\-D.\-Get\-Half\-Height (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a3c5d7855f7a91c8bc05883b5e6eaa611}


Calculates the value of half of the height of the range. 

\begin{DoxyReturn}{Returns}
Half of the height of the range.
\end{DoxyReturn}
\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a85bc0221b69e616320610f268dc28091}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Get\-Half\-Width@{Get\-Half\-Width}}
\index{Get\-Half\-Width@{Get\-Half\-Width}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Get\-Half\-Width}]{\setlength{\rightskip}{0pt plus 5cm}double Political\-Classifier.\-Support.\-Range2\-D.\-Get\-Half\-Width (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a85bc0221b69e616320610f268dc28091}


Calculates the value of half of the width of the range. 

\begin{DoxyReturn}{Returns}
Half of the width of the range.
\end{DoxyReturn}
\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_aad46a4a603679296f8ed0c5b29b035a6}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Get\-Height@{Get\-Height}}
\index{Get\-Height@{Get\-Height}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Get\-Height}]{\setlength{\rightskip}{0pt plus 5cm}double Political\-Classifier.\-Support.\-Range2\-D.\-Get\-Height (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_aad46a4a603679296f8ed0c5b29b035a6}


Calculates the height of the range. 

\begin{DoxyReturn}{Returns}
The height of the range.
\end{DoxyReturn}
\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a6ff74fe7222cfcf8271950db67154109}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Get\-Width@{Get\-Width}}
\index{Get\-Width@{Get\-Width}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Get\-Width}]{\setlength{\rightskip}{0pt plus 5cm}double Political\-Classifier.\-Support.\-Range2\-D.\-Get\-Width (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a6ff74fe7222cfcf8271950db67154109}


Calculates the width of the range. 

\begin{DoxyReturn}{Returns}
The width of the range.
\end{DoxyReturn}
\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a40bb03ebab7a77665ac4c58431c2f008}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Normalize\-Range@{Normalize\-Range}}
\index{Normalize\-Range@{Normalize\-Range}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Normalize\-Range}]{\setlength{\rightskip}{0pt plus 5cm}double Political\-Classifier.\-Support.\-Range2\-D.\-Normalize\-Range (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a40bb03ebab7a77665ac4c58431c2f008}


Forces the range to fit \mbox{[}-\/1, 1\mbox{]} in both dimensions. 

\begin{DoxyReturn}{Returns}
The scale factor used as the divisor for normalizing the range.
\end{DoxyReturn}


\subsection{Property Documentation}
\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a71baf81056770ad7a34ec3d15a827de4}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!X\-Max@{X\-Max}}
\index{X\-Max@{X\-Max}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{X\-Max}]{\setlength{\rightskip}{0pt plus 5cm}double Political\-Classifier.\-Support.\-Range2\-D.\-X\-Max\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a71baf81056770ad7a34ec3d15a827de4}


Gets and sets the maximum x-\/coordinate in the range. 

\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a426525ab012001191922c08d86be6fae}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!X\-Min@{X\-Min}}
\index{X\-Min@{X\-Min}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{X\-Min}]{\setlength{\rightskip}{0pt plus 5cm}double Political\-Classifier.\-Support.\-Range2\-D.\-X\-Min\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a426525ab012001191922c08d86be6fae}


Gets and sets the minimum x-\/coordinate in the range. 

\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_a64321f195a12f3a672ca03bd06471c14}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Y\-Max@{Y\-Max}}
\index{Y\-Max@{Y\-Max}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Y\-Max}]{\setlength{\rightskip}{0pt plus 5cm}double Political\-Classifier.\-Support.\-Range2\-D.\-Y\-Max\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_a64321f195a12f3a672ca03bd06471c14}


Gets and sets the maximum y-\/coordinate in the range. 

\hypertarget{struct_political_classifier_1_1_support_1_1_range2_d_afe9b372f0d920cf0bb17748ca054589f}{\index{Political\-Classifier\-::\-Support\-::\-Range2\-D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}!Y\-Min@{Y\-Min}}
\index{Y\-Min@{Y\-Min}!PoliticalClassifier::Support::Range2D@{Political\-Classifier\-::\-Support\-::\-Range2\-D}}
\subsubsection[{Y\-Min}]{\setlength{\rightskip}{0pt plus 5cm}double Political\-Classifier.\-Support.\-Range2\-D.\-Y\-Min\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}}\label{struct_political_classifier_1_1_support_1_1_range2_d_afe9b372f0d920cf0bb17748ca054589f}


Get and sets the minimum y-\/coordinate in the range. 



The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Jonathan.\-De\-Carlo/\-Source/\-Repos/\-Political\-Classifier/src/\-Political\-Classifier.\-Support/Range2\-D.\-cs\end{DoxyCompactItemize}
